package com.zhentao.subscription.service;

import java.io.IOException;
import java.nio.file.Path;

public interface FileStorageService {
    Path ensureTaskDir(String scopeType, String customsCodeOrSystem);
    Path saveCsv(Path dir, String filename, String content) throws IOException;
    void pruneKeepLatest(Path dir, int keep);
}

